package epoch.game.core.distr.call;

import epoch.game.core.support.Param;

/**
 * 异步调用会话数据
 * @author will
 * @date 2016年6月23日 下午2:28:23
 */
public class CallContext extends Param {

	//private static final String CALL_IS_TIME_OUT_KEY="CALL_TIME_OUT_KEY";
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private boolean timeOut=false;
	
	public CallContext() {
	}
	
	public CallContext(Param param) {
		super(param);
	}
	
	public CallContext(CallContext context) {
		super(context);
	}
	
	public CallContext(Object...params){
		super(params);
	}

	public boolean isTimeOut(){
		return timeOut;
	}
	
	public void markTimeOut(){
		timeOut=true;
	}

	public void setTimeOut(boolean timeOut) {
		this.timeOut = timeOut;
	}

}
